package com.lambda.use;

@FunctionalInterface
public interface Calculator {
    int calculate(int a, int b);

    default void printResult(int result) {
        System.out.println("结果是: " + result);
    }
}
